//
//  XiangXiXinXiTableViewCell.m
//  JuBoCRM
//
//  Created by iMac on 2024/3/8.
//  Copyright © 2024 iningKe. All rights reserved.
//

#import "XiangXiXinXiTableViewCell.h"

@implementation XiangXiXinXiTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
//    _nameLabel.sd_layout
//    .leftSpaceToView(self.contentView, 16)
//    .topSpaceToView(self.contentView, 13)
//    .heightIs(18)
//    .widthIs(100);
//    
//    _valueLabel.sd_layout
//    .leftSpaceToView(_nameLabel, 8)
//    .topSpaceToView(self.contentView, 13)
//    .rightSpaceToView(self.contentView, 16)
//    .autoHeightRatio(0);
}

//- (void)setModel:(AllModel *)model{
//    _model = model;
//    NSDictionary *dataDic = model.modelInfoDictionary;
//    
//    _nameLabel.text = GetHandleString(dataDic, @"name");
//    if([[dataDic objectForKey:@"value"] isKindOfClass:[NSString class]]){
//        _valueLabel.text = GetHandleString(dataDic, @"value");
//    }else{
//        if ([GetHandleString(dataDic, @"fieldName") isEqualToString:@"createUserName"] || [GetHandleString(dataDic, @"fieldName") isEqualToString:@"ownerUserName"]) {
//            
//            if([[dataDic objectForKey:@"value"] isKindOfClass:[NSArray class]]){
//                NSArray *array = [dataDic objectForKey:@"value"];
//                if(array.count > 0){
//                    _valueLabel.text = GetHandleString(array.firstObject, @"realname");
//                }else{
//                    _valueLabel.text = @"";
//                }
//            }else{
//                _valueLabel.text = @"";
//            }
//        }else if ([GetHandleString(dataDic, @"fieldName") isEqualToString:@"mapAddress"]) {
//            _valueLabel.text = GetHandleString([dataDic objectForKey:@"value"], @"address");
//        }
//       
//    }
//    
//    [self setupAutoHeightWithBottomView:_valueLabel bottomMargin:13];
//}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
